"""convert dffmsd file and/or dffppf file into kuai file.
usage:
dff2kuai [file1] [file2] ... [filen]
    Input file should be an msd file or a ppf file. And it save the
convert result into a same file with a
"""

def 

if __name__ == '__main__':
    from sys import argv
    if len(argv) == 1:
        print __doc__
    else:
        for i in argv[1:]:
            if i.endswith('.msd'):
                convertMSD2SDF(i)
            elif i.endswith('.ppf'):
                convertPPF2KFF(i)